package com.dcd.service.impl;

import com.dcd.mapper.Video_typeMapper;
import com.dcd.pojo.Video_type;
import com.dcd.service.Video_typeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Video_typeServiceImpl implements Video_typeService {

    @Autowired(required = false)
    private Video_typeMapper video_typeMapper;

    /**
     * 查询首页视频所有类型
     * @return  视频所有类型
     */
    @Override
    public List<Video_type> selectAll() {
        return video_typeMapper.selectAll();
    }


}
